projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7588ad1
)
at91_pit: Fix AT91_PIT_MR_PIV_MASK macro
author
Alexander Stein
<
[email protected]
>
Wed, 4 Aug 2010 09:24:53 +0000
(11:24 +0200)
committer
Reinhard Meyer
<
[email protected]
>
Fri, 3 Sep 2010 14:26:45 +0000
(16:26 +0200)
Signed-off-by: Alexander Stein <
[email protected]
>
arch/arm/include/asm/arch-at91/at91_pit.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-at91/at91_pit.h
b/arch/arm/include/asm/arch-at91/at91_pit.h
index 5615a0206caaa19e4d362544d527e2e28c61ccee..61aca79418a6c8d0d8ca2ee153511a68181a7318 100644
(file)
--- a/
arch/arm/include/asm/arch-at91/at91_pit.h
+++ b/
arch/arm/include/asm/arch-at91/at91_pit.h
@@
-25,7
+25,7
@@
typedef struct at91_pit {
#define AT91_PIT_MR_IEN 0x02000000
#define AT91_PIT_MR_EN 0x01000000
-#define AT91_PIT_MR_PIV_MASK
(x & 0x000fffff)
+#define AT91_PIT_MR_PIV_MASK
(x)
(x & 0x000fffff)
#define AT91_PIT_MR_PIV(x) (x & AT91_PIT_MR_PIV_MASK)
#ifdef CONFIG_AT91_LEGACY